import  requests
# post 提交方法d
# params={
# 'key1':'value1',
#     'key2':'value1',
#     'key3':'value1',
#     'key4':'value1'
# }
# html=requests.post('http://www.baidu.com',params)
# print(html.text)
# example

url='https://www.douban.com/accounts/login'
params={
'source':'index_nav',
    'form_email':'liujinlongg@126.com',
    'form_password':'a3b4c5x6'
   }
html=requests.post(url,params)
print(html.text)



